package com.example.mydemo.log;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("")
public class TestController {

    @GetMapping("/test")
    @LogRequest
    public String test(@RequestParam String name) {
        return "Hello, " + name;
    }
}
